
export class DataSegment {
    public map: Map<string, string | DataSegment | Array<string>>;
    constructor() {
        this.map = new Map<string, string | DataSegment | Array<string>>();
    }
    public put(key: string, value: string | DataSegment | Array<string>) {
        this.map.set(key, value);
    }
    public get(key: string): string | DataSegment | Array<string> | undefined {
        return this.map.get(key);
    }
}
export class SegmentItem {
    data: string | DataSegment | Array<string>;
    constructor(data: string | DataSegment | Array<string>) {
        this.data = data;
    }
}